package com.springBoot.requestdto;

import javax.validation.constraints.NotNull;

public class ObjectForm {
//    @NotNull(message = "obj_id不能为空")
//    private String objId;
//
    @NotNull(message = "org_id不能为空")
    private String orgId;

//    @NotNull(message = "customer_type不能为空")
//    private Integer customerType;
//
    @NotNull(message = "name不能为空")
    private String name;

    @NotNull(message = "create_by不能为空")
    private String createBy;

    @NotNull(message = "label不能为空")
    private String label;

    @NotNull(message = "lastModifiedBy不能为空")
    private String lastModifiedBy;

    private String description;
    @NotNull(message = "ownerId不能为空")
    private String ownerId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLastModifiedBy() {
        return lastModifiedBy;
    }

    public void setLastModifiedBy(String lastModifiedBy) {
        this.lastModifiedBy = lastModifiedBy;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }
}
